<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/jquery.min.js"></script>
    <script src="js/template-web.min.js"></script>
    <link rel="stylesheet" href="css/index.min.css">
    <script id="tmp-post" type="text/html">
      <h3><%= post.title %></h3>
      <p><%= post.content %></p>
    </script>
    <script id="tmp-users" type="text/html">
      <% for(let i = 0; i < users.length; i++){ %>
        <option vaule="<%= users[i].id %>"><%= users[i].name %></option>
      <% } %>
    </script>
    <script id="tmp-comment" type="text/html">
        <li uid="<%= id %>">
          <p class="comment-title"><%= username %> :<a class="delete" href="javascript:;">删除</a></p>
          <p class="comment-content"><%= comment %></p>
        </li>
    </script>
    <script id="content" type="text/html">
      <h2><%= content %></h2>
    </script>
</head>
<body>
    <div id="box">
      <h1>知乎，分享你刚编的故事！</h1>
      <div id="post" class="post">aaa</div>
      <div>
        <p id="comments-title">评论:</p>
        <ul id ="comments"></ul>
      </div>
      <div id="comment">
        选择用户
        <select name="users" id="users">
        </select>
        <textarea name="" id="new-comment" cols="30" rows="10">
        </textarea>
        <input type="button" id="comment-btn" class="btn" value="发表">
      </div>
    </div>
</body>
  <script src="./js/index.min.js"></script>
</html>